<!DOCTYPE HTML>
<?php $type_name = $class_id;?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>金明黄金</title>
<link type="text/css" href="/ui/css/style.css" rel="stylesheet" />
<script src="/ui/js/jquery-1.5.1.min.js"></script>
<script src="/ui/js/smallslider.js"></script>
<script src="/ui/js/func.js"></script>
</head>
<body>
<div class="col" id="header">
<?php include 'nav.php';?>
<div class="col"><img src="/ui/img/banner.png" width="960" /></div>
<div class="col main">
  <div class="side">
    <dl class="menu">
      <dt>金明视点</dt>
      <dd>
        <ul>
          <?php switch($type_name){
			case "2";
			case "3";
			case "4";
          ?>
          <li><a href="<?php echo site_url('info?types=2'); ?>" >外汇</a></li>
          <li><a href="<?php echo site_url('info?types=3'); ?>">黄金</a></li>
          <li><a href="<?php echo site_url('info?types=4'); ?>">白银</a></li>
          <?php };?>
		  <?php switch($type_name){
			case "5";
			case "6";
			case "7";
          ?>
          <li><a href="<?php echo site_url('info?types=5'); ?>" >日排行</a></li>
          <li><a href="<?php echo site_url('info?types=6'); ?>">周排行</a></li>
          <li><a href="<?php echo site_url('info?types=7'); ?>">月排行</a></li>
         <?php }?>
		  <?php switch($type_name){
			case "8";
			case "9";
			case "10";
			case "11";
          ?>
          <li><a href="<?php echo site_url('info?types=8'); ?>" >基础知识</a></li>
          <li><a href="<?php echo site_url('info?types=9'); ?>">技术指标</a></li>
          <li><a href="<?php echo site_url('info?types=10'); ?>">投资技巧</a></li>
          <li><a href="<?php echo site_url('info?types=11'); ?>">常见问题</a></li>
         <?php }?>
         <?php switch($type_name){
			case "13";
			case "14";
			case "15";
          ?>
          <li><a href="<?php echo site_url('info?types=13'); ?>" >每日策略</a></li>
          <li><a href="<?php echo site_url('info?types=14'); ?>">每周策略</a></li>
          <li><a href="<?php echo site_url('info?types=15'); ?>">每月策略</a></li>
         <?php }?>
        </ul>
      </dd>
    </dl>
    <a href="<?php echo site_url('about?types=13'); ?>" style="margin-bottom:5px;"><img src="/ui/img/sidepic1.png" /></a> <a href="<?php echo site_url('about?types=7'); ?>" style="margin-bottom:5px;"><img src="/ui/img/sidepic2.png" /></a> <a href="<?php echo site_url('about?types=11'); ?>" style="margin-bottom:5px;"><img src="/ui/img/sidepic3.png" /></a> <a href="<?php echo site_url('about?types=13'); ?>" style="margin-bottom:5px;"><img src="/ui/img/sidepic4.png" /></a> </div>
 <div class="content">
    <p class="crumbs">黄金动态 > 金明视点 > <?php echo $title;?></p>
    <h1><?php echo $title;?></h1>
    <p class="data">发布时间：<?php echo date("Y-m-d",$createdate)?> 来源：金明黄金 作者：<?php echo $writer;?></p>
    <div class="contentbox">
    <?php echo $content;?>
    </div>
  </div>
</div>
<?php include 'footer.php'; ?>
</body>
</html>
